//Christian
package DBLayer;

import ModelLayer.*;
import java.util.ArrayList;

public interface IFDBProduct
{
    public ArrayList<Product> getAllProducts(boolean retriveAssociation);
	public Product findProduct(String name, boolean retriveAssociation);
	public Product searchProductId(int id, boolean retriveAssociation);
	public Product searchProductName(String name, boolean retriveAssociation);
	//public Customer searchCustomerAddress(String address, boolean retriveAssociation);
	//public Customer searchCustomerPhoneno(int phoneno, boolean retriveAssociation);
	public int createProduct(Product prod);
	public int updateProduct(Product prod);
	public int deleteProduct(int id);    
}

